package mavenDemo.groupDemo01;

public class GreetingServiceImpl implements GreetingService{

	private String greeting;
	
	public GreetingServiceImpl(){}
	
	public GreetingServiceImpl(String greeting){
		this.greeting = greeting;
	}
	
	public void sayGreeting() {
		System.out.println(greeting);
	}
	
	public void setGreeting(String greeting){
		this.greeting = greeting;
	}

}
